package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * TODO
 *
 * @author Mr.zhao
 * @version 1.0
 * @date 2021/12/31 12:30
 */
public interface CustomerDao {
    List<Customer> getCustomerList(@Param("pageStart") int pageStart, @Param("rows") Integer rows, @Param("customerName") String customerName);

    /**
     *
     * @param customer
     */
    void save(Customer customer);

    void update(Customer customer);

    /**
     * 删除
     * @param strIds
     */
    void delete(@Param("ids") String[] strIds);
}
